<template>
  <tree :data="data" :setting="setting"></tree>
</template>
<script>
import tree from './tree'
export default {
    components:{tree},
  data() {
    return {
      data: [
        {
          label: "1",
          children: [
            {
              label: "2"
            },
            {
              label: "4"
            }
          ]
        }
      ],
      setting:{
          name:"label"
      }
    };
  }
};
</script>
